package com.doyens.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.doyens.reggie.domain.Category;
import com.doyens.reggie.domain.Dish;
import com.doyens.reggie.dto.DishDto;
import org.springframework.transaction.annotation.Transactional;

public interface DishService extends IService<Dish> {

    @Transactional
    void saveDishAndFlavor(DishDto dishDto);

    @Transactional
    void delDishAndFlavor(Long[] ids);

    @Transactional
    void updateStatus(int status, Long[] ids);

    @Transactional
    void updateDish(DishDto dishDto);
}
